package cn.tedu.submarine_2;

import javax.swing.ImageIcon;

public class TorpedoSubmarine extends SeaObject implements EnemyScore{
    public TorpedoSubmarine(){
        super(64,20);
    }

    public void move() {
        x+=speed;
    }


    public ImageIcon getImage() {
        return Images.torpesubm;
    }
    /**
     * 重写得分
     * @return
     */
    public int getScore(){
        return 40;
    }
}
